Skip to content

disambiguate to location when no IPs can be determined#5486

Merged
takluyver merged 2 commits into
ipython:masterfrom
minrk:disambiguate-default
Apr 21, 2014
Merged

disambiguate to location when no IPs can be determined#5486
takluyver merged 2 commits into
ipython:masterfrom
minrk:disambiguate-default

Conversation

@minrk
Copy link
Copy Markdown
Member

@minrk minrk commented Apr 2, 2014

previously, fallback was to localhost, which could often be wrong.

closes #5477

previously, fallback was to localhost, which could often be wrong.
@minrk minrk added this to the 2.1 milestone Apr 2, 2014
Comment thread IPython/parallel/util.py
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

location can be None if it's not passed - does it make sense for this function to return None?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it should always return an IP. Note the if not location above.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, OK. Then I think this looks OK.

takluyver added a commit that referenced this pull request Apr 21, 2014
disambiguate to location when no IPs can be determined
@takluyver takluyver merged commit 3cc040e into ipython:master Apr 21, 2014
takluyver added a commit that referenced this pull request May 7, 2014
…ined

previously, fallback was to localhost, which could often be wrong.

closes #5477
takluyver added a commit that referenced this pull request May 7, 2014
…ined

previously, fallback was to localhost, which could often be wrong.

closes #5477
@minrk minrk deleted the disambiguate-default branch July 12, 2014 17:02
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
disambiguate to location when no IPs can be determined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

counterintuitive behavior of ipengine when controller is listening on all interfaces.

2 participants